<?php 

function icon_add_styles() {

    // icon 样式
    wp_enqueue_style('computer-icon', get_template_directory_uri() . '/assets/icon/computer/iconfont.css', array(), '1.0.0', 'all');
    // 图标图标样式
    wp_enqueue_style('chat-icon', get_template_directory_uri() . '/assets/icon/chat/iconfont.css', array(), '1.0.0', 'all');
    // 网页图标样式
    wp_enqueue_style('web-icon', get_template_directory_uri() . '/assets/icon/web/iconfont.css', array(), '1.0.0', 'all');
    // 首页图标样式
    wp_enqueue_style('index-icon', get_template_directory_uri() . '/assets/icon/index/iconfont.css', array(), '1.0.0', 'all');
    // 线性图标样式
    wp_enqueue_style('linear-icon', get_template_directory_uri() . '/assets/icon/linear/iconfont.css', array(), '1.0.0', 'all');


}
add_action('wp_enqueue_scripts', 'icon_add_styles');


?>